package com.chen.recruit.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("UpdatePwdVo 更新密码视图对象")
public class UpdatePwdVo {

    @ApiModelProperty("旧密码")
    @NotBlank(message = "旧密码不能为空")
    private String oldPwd;

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码不能为空")
    private String newPwd;

}
